import request from '@/utils/request'

export default {
    /**
     * 提交登录
     * @param {用户登录对象} member 
     * @returns 
     */
  login(member) {
    return request({
      url: '/ucenterservice/member/login',
      method: 'post',
      data: member
    })
  },
  /**
   * 根据token获取用户信息
   * @returns 
   */
  getMemberInfo() {
    return request({
      url: '/ucenterservice/member/getMemberInfo',
      method: 'get'
    })
  }

}